package theFirstProject;

import java.io.Serializable;

public
class ConsumInfo implements Serializable {//
    int talkTime;
    int smsCount;
    int flow;
    String type;
    int num;
    double price;//
    public String toString(){
        return type+"\t"+num;
    }
    public
    ConsumInfo(String type, int num) {
        this.type = type;
        this.num = num;
    }
}
